/** 纸张大小 */
export const paperSizeOptions = [
  // A系列的
  {
    label: '自定义',
    value: 'customer',
  },
  {
    label: '自定义（缓存）',
    title: '自定义（缓存）',
    options: [
      {
        label: '成品出库单',
        value: '210*115',
      },
      {
        label: '成品入库检验单',
        value: '190*120',
      },
    ],
  },
  {
    label: 'A',
    title: 'A',
    options: [
      { label: 'A0', value: '841*1189' },
      { label: 'A1', value: '594*841' },
      { label: 'A2', value: '420*594' },
      { label: 'A3', value: '297*420' },
      { label: 'A4', value: '210*297' },
      { label: 'A5', value: '148*210' },
      { label: 'A6', value: '105*148' },
      { label: 'A7', value: '74*105' },
      { label: 'A8', value: '52*74' },
      { label: 'A9', value: '37*52' },
      { label: 'A10', value: '26*37' },
    ],
  },
  // B系列的
  {
    label: 'B',
    title: 'B',
    options: [
      { label: 'B0', value: '1000*1414' },
      { label: 'B1', value: '707*1000' },
      { label: 'B2', value: '500*707' },
      { label: 'B3', value: '353*500' },
      { label: 'B4', value: '250*353' },
      { label: 'B5', value: '176*250' },
      { label: 'B6', value: '125*176' },
      { label: 'B7', value: '88*125' },
      { label: 'B8', value: '62*88' },
      { label: 'B9', value: '44*62' },
      { label: 'B10', value: '31*44' },
    ],
  },
  // C系列的
  {
    label: 'C',
    title: 'C',
    options: [
      { label: 'C0', value: '917*1297' },
      { label: 'C1', value: '648*917' },
      { label: 'C2', value: '458*648' },
      { label: 'C3', value: '324*458' },
      { label: 'C4', value: '229*324' },
      { label: 'C5', value: '162*229' },
      { label: 'C6', value: '114*162' },
      { label: 'C7', value: '81*114' },
      { label: 'C8', value: '57*81' },
      { label: 'C9', value: '40*57' },
      { label: 'C10', value: '28*40' },
    ],
  },
  // 信纸系列
  {
    label: '信纸',
    title: '信纸',
    options: [
      { label: 'Letter', value: '216*279' },
      { label: 'Legal', value: '216*356' },
      { label: 'Tabloid', value: '279*432' },
      { label: 'Statement', value: '233*330' },
      { label: 'Executive', value: '190*255' },
      { label: 'Folio', value: '210*330' },
      { label: 'Quarto', value: '215*275' },
      { label: '10x14', value: '254*356' },
    ],
  },
];

/** 纸张边距 */
export const paperMarginOptions = [
  {
    label: '默认',
    value: 'default',
  },
  {
    label: '无',
    value: 'none',
  },
  {
    label: '最小',
    value: 'small',
  },
  {
    label: '自定义',
    value: 'customer',
  },
];
